#include "Defines.h"
class Timer{
private:
	LARGE_INTEGER frecuency;
	LARGE_INTEGER actualTime;
	LARGE_INTEGER lastTime;
	double deltaTime;
	double measureFpsSample;
	unsigned int frameCounter;
	unsigned int FPS;
	void FirstMeasure();
	void Measure();

public:
	friend class Game;
	Timer();
	double GetDT(){return deltaTime;}
	unsigned int GetFPS();
};